package Test;

import CommitLink.CommitLink;
import core.JitCommit;
import org.junit.Test;
import repository.Repository;

/**
 * @author shkstart
 * @create 2021-12-02 19:42
 */
public class commitTest {
    @Test
    public void testOfCommit() throws Exception {
        Repository repository = new Repository("D:\\hashcode");
//        System.out.println(System.getProperties().);
        JitCommit.commit("1st commit");
//        JitCommit.commit("2nd commit");
        CommitLink commitLink = new CommitLink();
        commitLink.readObject().getCommitList().display();
    }
}
